window.phoenix&&(window.phoenix.buildInfo||(window.phoenix.buildInfo=[]),-1===window.phoenix.buildInfo.findIndex((e=>"Phoenix-upper-funnel"===e.MFE))&&window.phoenix.buildInfo.push({MFE:"Phoenix-upper-funnel",VERSION:"release-phoenix-upper-funnel-1.1.34939.1371721126-39f68b2d-4-g4c3fc7698",LASTCOMMITDATETIME:"2024-07-16T18:00:25-06:00"})) /*! * * ============= BUILD INFO ============= * MFE: Phoenix-upper-funnel * chunkName: component-clientlibs/productCard.v1/productCard * VERSION: release-phoenix-upper-funnel-1.1.34939.1371721126-39f68b2d-4-g4c3fc7698 * BRANCH: release/fix-upper-funnel0717 * COMMITHASH: 4c3fc7698bddb05cca402d984d9c7e93c1830225 * LASTCOMMITDATETIME: 2024-07-16T18:00:25-06:00 * ============= If you're reading this, why not come work with us? https://www.t-mobile.com/careers ============= */,function(){"use strict";window.Alpine.data("productCard",(()=>({triggerPromoDetails(e,n,i,o,t){const r={sku:e,promos:i,title:n};o&&(r.href=o),t&&(r.image=t),window.phoenix.bus.publish("PRODUCT_CARD","PROMOTION_DETAILS",{payload:r})},getA11yProductRating(e){if(!e)return"";if(!e.match(/^[0-9]{1}\.[0-9]{1} \([0-9]{1,6}\)$/gi))return"";const n=e.split(" ")?.[0],i=e.split(" ")?.[1].replace("(","").replace(")","");let o=this.$el?.textContent?.replace("{{ratingsAverage}}",n);return o=o?.replace("{{totalReviewCount}}",i),o?o.trimEnd():""}})))}();